#include<stdio.h>

int main()
{
	FILE* pf = fopen("test_2.txt", "w");
	if (pf = NULL)
	{
		perror("fopen");
		return 1;
	}
	char arr[5];
	fputs("ABCDE", pf);

	fclose(pf);
	pf = NULL;
	return 0;
}